<template>
	<view class="container">
		<view class="title">{{Info.Name}}</view>
		<view class="context"><mp-html :content="Info.Context" /></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				ID:0,
				Info:{ID:0}
			};
		},
		onLoad(options) {
			this.ID=options.ID;
			this.Util.SetParam(options);
			this.Find_CaseInfo();
		},
		methods:{
			Find_CaseInfo(){
				var data = {};
				data.ID=this.ID;
				data.Act="Find_CaseInfo";
				this.Util.Loading("加载中...");
				this.Util.Post(data, json=>{
					this.Util.HideLoading();
					uni.stopPullDownRefresh();
					uni.hideNavigationBarLoading();
					this.Info = json.Data.Info;
				});
			}
		}
	}
</script>

<style lang="scss">
	page{background-color: #ffffff;}
	.container{width:100%; padding:20rpx;
		.title{width:100%; min-height:60rpx; line-height: 60rpx; text-align: center; font-size:46rpx;}
		.context{width:100%; padding-top:50rpx;}
	}
</style>
